home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FILEFIND / WHENIS.ZIP / WHEN-IS.DOC < prev    next >
Encoding:
Text File  |  1989-12-06  |  10.6 KB  |  246 lines

  1.                           WHEN-IS
  2.  
  3.                     A file search utility
  4.                 Copyright (C) 1989, by Tony Rein
  5.                   Release 1.2, December 1989
  6.  
  7. WHAT IS WHEN-IS FOR?
  8.   WHEN-IS is a directory search program which can find files by date
  9. or time criteria.  If you've lost track of a file - you can't remember
  10. what it's called or what directory it's in, but you do know about when
  11. it was created or last updated - this program can help you find it.
  12.   You should have three files: WHEN-IS.DOC (this file), WI.EXE and
  13. WINB.EXE (two versions of the program file itself; see "SYSTEM REQUIREMENTS"
  14. below for information).
  15.  
  16. WHEN-IS can search for files:
  17.     *created or updated on a certain date
  18.     *created or updated after a certain date
  19.     *created or updated before a certain date
  20.     *created or updated before one date or after another,
  21.     *and several other combinations...
  22.  
  23. HOW TO USE IT
  24.   All information you want WHEN-IS to use must be entered on the command
  25. line.  The simplest command line results when you only want to search
  26. for files relative to one date.  Let's say you want to find all files
  27. dated after May 25, 1989; type in:
  28.   "WI after 5/25/89 <cr>"
  29.          ("<cr>" is the "carriage-return," or "enter" key.)
  30.  
  31.   You will then see a listing of all the files on the current drive
  32. dated on or after May 26, 1989.  The listing will pause when the screen
  33. gets full and prompt you to hit a key.  If you see what you're looking
  34. for you can break out of the program in the middle by hitting Control-C
  35. or Escape when the program finishes displaying a screenful.
  36.   You can specify two dates.  Suppose you want to see a list of all
  37. files dated between 3/31/89 and 4/10/89, inclusive; enter:
  38.   "WI after 3/30/89 and before 4/11/89 <cr>"
  39.  
  40.   If you want to specify all files EXCEPT those between two particular
  41. dates, type:
  42.   "WI before 5/2/89 or after 5/5/89 <cr>"
  43.  
  44.   If you want to look at the information at your leisure, and not just
  45. while it's up on the screen, redirect the output of the program to a
  46. file.  For example:
  47.   "WI on 5/9/89 or on 5/10/89  > DATED.JNK <cr>" will send the
  48. information to the file "DATED.JNK", overwriting that file if it already
  49. exists.  You could also send the stuff to your printer by specifying
  50. "> LPT1" or "> LPT2" (for printer #1 or #2).  If you're not familiar with
  51. redirection, see your DOS manual.
  52.  
  53.  
  54.  
  55.   You can specify times as well as dates.  For example:
  56. "WI after 5/25/89 3:30pm and before 5/25/89 5:00pm <cr>"
  57.  
  58. (Note that you have to give the date twice if you give two times, even
  59. if it's two times on the same day.  Also, you may enter times in 24-hour
  60. format if you wish.)
  61.  
  62.   In addition to the date and time information, you can give WHEN-IS
  63. several other commands:
  64.  
  65.   "/Fxxxx", where "xxxx" is a file specification.  For example, enter
  66. "/F*.DOC to tell the program to look only for "*.DOC" files meeting the
  67. date criteria.
  68.  
  69.   "/Ddrive", where "drive" is a drive letter.  "/Db", for example, to
  70. search on drive B:.
  71.  
  72.   "/N" means No Subdirectories.  If you enter this, WHEN-IS will search
  73. only in the current directory.
  74.  
  75.  
  76.  
  77. SYNTAX
  78.   The complete syntax for WHEN-IS  is:
  79.  
  80. "WI [/Ffs] [/Dd] [/N] [rel date1 time1] [log rel date2 time2] <cr>"
  81.  
  82. where:
  83.   "fs" is a DOS file specification (wildcards are allowed)
  84.   "d"  is a drive letter
  85.   "/N" means No Subdirectories
  86.   "rel" is a relational word: "before," "after," or "on."  "=" can be
  87.     substituted for "on," and "before" and "after" can be abbreviated
  88.     to their first two letters.
  89.  
  90.   "log" is a logical word: "and" or "or."  You may use "&" in place of
  91.     "and."
  92.  
  93.   Dates must be in the format MM/Day/Year.  The month must be a number,
  94. and not a name.  The year can be either all four digits, or just the
  95. last two digits. You can use almost any non-digit character to separate
  96. the components, if you don't want to use the slash.  Just don't use a
  97. space, tab, or other "whitespace" character.
  98.   NOTE: When you specify a search AFTER or BEFORE a given date/time, a
  99. file exactly ON that date/time will not be found.  If you want to specify
  100. "on or after" a certain date, use the format: "on 4/30/89 or after 4/30/89."
  101.  
  102.  
  103.  
  104.   Times must be in the format "HH:MM."  WHEN-IS ignores seconds.  You
  105. can give times either in normal civil format ("4:30pm") or in 24-hour
  106. format ("16:30").  If you give an "am" or "pm" the "a" or "p" must
  107. come immediately after the last digit of the minutes; any spaces or
  108. any other character will confuse the program, and it will abort.  It
  109. won't hurt anything; you'll just have to type in your command again.
  110. (The listing of files you get back from the program will be in 24-hour
  111. format, in order to save computing time  and make the search run a
  112. little faster.)
  113.   The time can be separated from the date by either a comma or by one
  114. or more spaces or tabs: "3/30/86,2:00pm" or "3/30/86 2:00pm."
  115.   As with the date, you can use any non-digit, non-whitespace
  116. character to separate the hours from the minutes.
  117.  
  118.   All command line parameters can be upper-case, lower-case, or any
  119. combination.
  120.   All command line parameters are optional.  However, if you enter
  121. any dates you have to have a relational word for each one, and
  122. if you enter any times you have to have a date before each one.
  123. If you give a second date you have to have a logical word before it.
  124. All "/" switches ("/F," "/D," and "/N") must come before all other
  125. parameters, but the "/" switches can be given in any combination (as
  126. long as you don't have more than one of each) and any order.
  127.  
  128.   NOTES:
  129.    1)If you don't enter any date at all, WHEN-IS will assume you're
  130. looking for all files dated January 1, 1980 or later; in other words,
  131. all files.  Use this feature to use WHEN-IS as a simple file-locating
  132. program - just enter a file spec, and no time or date.
  133. For example: "WI /F*.BAK <cr>" to find all "*.BAK" files on the disk.
  134.   2)There must be at least one space seperating all switches; that is,
  135. "WI =5/10/89" won't work.
  136.  
  137.  
  138.  
  139. SYSTEM REQUIREMENTS
  140.   WHEN-IS should work fine on any computer running PC- or MS-DOS, version
  141. 2.0 or later.  It's actually been tried, to my knowledge, on 2.1, 3.1,
  142. 3.3, and 4.?.  If you try it with any other versions and it doesn't work
  143. (or even if it does) I'd be curious to hear about it.
  144.   If WHEN-IS fails on your computer it may be because of an incompatible
  145. BIOS; that's why WINB.EXE is provided:  WI.EXE assumes your computer is
  146. 100% IBM-BIOS compatible, at least as far as video display functions are
  147. concerned.  WINB.EXE is slightly slower, but makes no such assumptions.
  148. If WI.EXE doesn't work properly use WINB.EXE: save WI.EXE on a floppy disk
  149. in a safe place and rename WINB.EXE to WI.EXE.
  150.  
  151.  
  152. SPEED
  153.   WHEN-IS takes about two minutes to search through a 30-Megabyte hard
  154. disk with about 1,700 files.  If you specify a file specification
  155. (e.g. "*.COM") the search will run a little faster.
  156.  
  157.  
  158.  
  159.  
  160. COPYRIGHT INFOMATION
  161.   WI.EXE, WINB.EXE (the two versions of the executable program) and
  162. WHEN-IS.DOC (this file) are copyrighted (C) 1989 by Tony Rein.  Anyone
  163. is welcome to try them out and pass them along to others, as long as
  164. the following conditions are met:
  165.   1)If you give, lend, or otherwise transfer any of these files to
  166. anyone else, you must transfer them all together.  However, they may
  167. be combined into one archived file (".ARC" or ".ZIP" format) to save
  168. space or time.
  169.   2)No money may be charged for these files.  There may be a materials
  170. or handling charge if the transfer is by diskette, as long as the
  171. total charge does not exceed $6.00 per diskette.
  172.   3)Anyone who uses these files assumes all liability for loss of data
  173. or any other damage or injury which may result from their use,
  174. misuse, or non-use.
  175.  
  176.   If you use WHEN-IS  and find it useful, I'm soliciting a
  177. "registration" fee of $5.00.  If you register, you'll get on my mailing
  178. list and be among the first to know if WHEN-IS is improved or if any
  179. bugs are discovered.  This registration fee is optional.
  180.   If you have any comments or suggestions on the program, I'd like to
  181. hear from you, whether or not you register.  If you contact me, please
  182. let me know where you got the program.
  183.   I can be reached by mail at: Tony Rein
  184.                                2605 Eden Ave., #8
  185.                                Cincinnati, OH  45219
  186.   or on Compuserve (ID #76276,2662).
  187.  
  188.  
  189.  
  190. VERSION HISTORY
  191.  
  192. Release 1.2 Decembar 1989
  193.     1)Bug fixed: Earlier versions would sometimes cause the computer
  194.       to hang up if Control-C was pressed.
  195.  
  196.     2)WINB.EXE provided for BIOS-incompatible computers.
  197.  
  198.     3)Changes in documentation to reflect 1) and 2) above.
  199.  
  200.  
  201. Release 1.1 December 1989
  202.     1)Bug fixed: Now the "on" and "=" switches work properly.
  203.       This bug pointed out by Mr. James Appier.
  204.  
  205.     2)Minor changes in documentation: Notes added about using
  206.       WHEN-IS as a file locating program and about requirement
  207.       for space between all switches; author's new address.
  208.  
  209. Release 1.0 July 1989
  210.     Original release
  211.  
  212.          ----------------end-of-author's-documentation---------------
  213.  
  214.                         Software Library Information:
  215.  
  216.                    This disk copy provided as a service of
  217.  
  218.                         The Public (Software) Library
  219.  
  220.          We are not the authors of this program, nor are we associated
  221.          with the author in any way other than as a distributor of the
  222.          program in accordance with the author's terms of distribution.
  223.  
  224.          Please direct shareware payments and specific questions about
  225.          this program to the author of the program, whose name appears
  226.          elsewhere in  this documentation. If you have trouble getting
  227.          in touch with the author,  we will do whatever we can to help
  228.          you with your questions. All programs have been tested and do
  229.          run.  To report problems,  please use the form that is in the
  230.          file PROBLEM.DOC on many of our disks or in other written for-
  231.          mat with screen printouts, if possible.  The P(s)L cannot de-
  232.          bug programs over the telephone.
  233.  
  234.          Disks in the P(s)L are updated monthly, so if you did not get
  235.          this disk  directly from the P(s)L,  you should be aware that
  236.          the files in this set may no  longer be the current versions.
  237.  
  238.          For a copy of the latest monthly software library newsletter
  239.          and a list of the 2,000+ disks in the library, call or write
  240.  
  241.                         The Public (Software) Library
  242.                               P.O.Box 35705 - F
  243.                            Houston, TX 77235-5705
  244.                                (713) 665-7017
  245.  
  246.